import request from '@/utils/request'

export function addPayment(data) {
  return request({
    url: '/paymentBase/save',
    method: 'post',
    data
  })
}

export function getPayment(data) {
  return request({
    url: '/paymentBase/queryList',
    method: 'get',
    params: data
  })
}

export function updateAdminBase(data) {
  return request({
    url: '/adminBase/updateById',
    method: 'post',
    data
  })
}

export function getPaymentById(data) {
  return request({
    url: '/prescriptionBase/queryInfoById',
    method: 'get',
    params: data
  })
}

export function returnGoods(data) {
  return request({
    url: '/paymentBase/returnGoods',
    method: 'post',
    data
  })
}

